package Views;

import java.util.ArrayList;

/**
 * Creates all the GUI Objects
 * @author Joshua King
 */
public class GUIFactory {

    public static ViewCreateUser makeViewCreateUser() {
        return new ViewCreateUser();
    }

    public static ViewDeleteUser makeViewDeleteUser() {
        return new ViewDeleteUser();
    }

    public static ViewLogoutUser makeViewLogoutUser() {
        return new ViewLogoutUser();
    }

    public static ViewLoginUserReal makeViewLoginUser() {
        return new ViewLoginUserReal();
    }

    public static ViewUpdate makeViewUpdate() {
        return new ViewUpdate();
    }

    public static ViewDisplayFlights makeViewDisplayFlights() {
        return new ViewDisplayFlights();
    }

    public static ViewDisplayCreateUser makeViewDisplayCreateUser() {
        return new ViewDisplayCreateUser();
    }

    public static ViewDisplayDeleteUser makeViewDisplayDeleteUser() {
        return new ViewDisplayDeleteUser();
    }

    public static ViewDeleteConfirm makeViewDeleteConfirm() {
        return new ViewDeleteConfirm();
    }

    public static ViewFlights makeViewFlights(ArrayList<ArrayList<String>> arr) {
        ViewFlights viewFlightsInst = new ViewFlights(arr);
        return viewFlightsInst;
    }
    
    public static ViewDisplayEditFlight makeViewDisplayEditFlight() {
        return new ViewDisplayEditFlight();
    }
    
    public static ViewDisplayCreateFlight makeViewDisplayMakeFlight() {
        return new ViewDisplayCreateFlight();
    }
    
    public static ViewDisplayDeleteFlight makeViewDisplayDeleteFlight() {
        return new ViewDisplayDeleteFlight();
    }
    
    public static ViewDisplayEditAirport makeViewDisplayEditAirport() {
        return new ViewDisplayEditAirport();
    }
    
    public static ViewDisplayCreateAirport makeViewDisplayMakeAirport() {
        return new ViewDisplayCreateAirport();
    }
    
    public static ViewDisplayDeleteAirport makeViewDisplayDeleteAirport() {
        return new ViewDisplayDeleteAirport();
    }
    
    public static ViewDisplayAddPromotion makeViewDisplayAddPromotion() {
        return new ViewDisplayAddPromotion();
    }
    
    public static ViewDisplayEditManager makeViewDisplayEditManager() {
        return new ViewDisplayEditManager();
    }
    
    public static ViewDisplayCreateManager makeViewDisplayCreateManager() {
        return new ViewDisplayCreateManager();
    }
    
    public static ViewDisplayDeleteManager makeViewDisplayDeleteManager() {
        return new ViewDisplayDeleteManager();
    }
    
    public static ViewDisplayBuyTicket makeViewDisplayBuyTicket() {
        return new ViewDisplayBuyTicket();
    }
    
    public static ViewUserBar makeViewUserBar() {
        return new ViewUserBar();
    }
    
    public static ViewManBar makeViewManBar() {
        return new ViewManBar();
    }
    
    public static ViewAdmBar makeViewAdmBar() {
        return new ViewAdmBar();
    }
    
    public static ViewCreateAirport makeViewCreateAirport() {
        return new ViewCreateAirport();
    }
    
    public static ViewEditAirport makeViewEditAirport(String[] str) {
        return new ViewEditAirport(str);
    }
    
    public static ViewDeleteAirport makeViewDeleteAirport(String[] str) {
        return new ViewDeleteAirport(str);
    }
    
    public static ViewCreateFlight makeViewCreateFlight() {
        return new ViewCreateFlight();
    }
    
    public static ViewEditFlight makeViewEditFlight(String[] str) {
        return new ViewEditFlight(str);
    }
    
    public static ViewDeleteFlight makeViewDeleteFlight(String[] str) {
        return new ViewDeleteFlight(str);
    }    
    
    public static ViewCreateManager makeViewCreateManager() {
        return new ViewCreateManager();
    } 
    /*protected ViewGeneralBar westGeneralPanel = new ViewGeneralBar();
    protected ViewUserBar westUserPanel = new ViewUserBar();
    protected ViewLoginBar northLoginPanel = new ViewLoginBar();
    protected ViewLogoutUser logoutPanel = new ViewLogoutUser();
    protected ViewCreateUser createUserPanel = new ViewCreateUser();
    protected ViewDeleteUser deleteUserPanel = new ViewDeleteUser();
    protected ViewUpdate updatePanel = new ViewUpdate();
    protected ViewDeleteConfirm deleteConfirmFrame = new ViewDeleteConfirm();
     */
}
